package com.ykq.order.feign;

import com.ykq.Product;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignHandler implements ProductFeign{
    @Override
    public Product findById(Integer pid) {
        Product p=new Product();
        p.setPid(-1);
        p.setPname("商品服务错误，请稍后再试！！！！！！！！！！");
        return p;
    }
}
